export default {
  install (Vue, options) {
    Vue.prototype.$goback = function (delta) {
      if (delta === undefined) {
        delta = -1
      }
      this.$router.go(delta)
    }
  }
}
